namespace Razor
{
  public class Startup
  {


    public void ConfigureServices(IServiceCollection services)
    {
      services.AddMvc();
    }


    public void Configure(IApplicationBuilder app, Microsoft.AspNetCore.Hosting.IHostingEnvironment env)
    {
      if (env.IsDevelopment())
      {
        app.UseDeveloperExceptionPage();
      }

      //app.Run(async (context) => {
      //    await context.Response.WriteAsync("Hello World!");
      //});
      app.UseMvcWithDefaultRoute();
    }

  }
}
